package com.iswust.mianzhoutong.sign.consts;

import com.iswust.mianzhoutong.sign.model.dto.SignReward;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

/**
 * @author liushuai
 * @create 2022-07-20 11:25
 */

public class RewardConst {


    public static final Map<Integer, SignReward> REWARD_MAP = Collections.unmodifiableMap(new HashMap<Integer, SignReward>() {
        private static final long serialVersionUID = 1L;
        {
            put(3, new SignReward(3,"累积签到3天，获得碳币三个", SignReward.RewardObject.CARBON_COINS));
            put(7, new SignReward(7,"累积签到7天，获得碳币七个", SignReward.RewardObject.CARBON_COINS));
            put(15, new SignReward(1,"累积签到15天，获得抽奖次数一次", SignReward.RewardObject.RAFFLE_CHANCE));
            put(28, new SignReward(1,"累积签到28天，获得乘车券一张", SignReward.RewardObject.BUS_TICKET));
        }
    });
}
